//
//  AskingSmallCollectionViewCell.m
//  TodatPlay
//
//  Created by dllo on 16/9/6.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "AskingSmallCollectionViewCell.h"
#import "SDAutoLayout.h"


@implementation AskingSmallCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createLabel];
    }
    return self;
}
- (void)createLabel {
    self.label = [UILabel new];
    [self.contentView addSubview:_label];
    _label.sd_layout
    .leftEqualToView(self.contentView)
    .topEqualToView(self.contentView)
    .rightEqualToView(self.contentView)
    .autoHeightRatio(0);
    
    _label.text = @"sef;klotkelglhgl;ekgl;rthk;lrtkhl;rthkl;rthk";
    [self setupAutoHeightWithBottomView:_label bottomMargin:10];
}
@end
